package com.itheima.opp;

public class Students {
    String name;
    double chinese;
    double math;


    public void printtotalscore(){
        System.out.println(chinese + math);
    }
    public void printaveragescore(){
        System.out.println((chinese + math) / 2.0);
    }
}
